﻿using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OpenAdmin.Core.DbContextLocators;

namespace OpenAdmin.Core.Models;

/// <summary>
/// 订单详情表
/// </summary>
[Table("OrderDetails")]
public class OrderDetail : EntityBase<MallDbContextLocator>, IEntityTypeConfigure<OrderDetail>, IEntityTypeSeedDataConfigure<OrderDetail>
{

    public void Configure(EntityTypeBuilder<OrderDetail> entityBuilder)
    {

    }

    public IEnumerable<OrderDetail> HasData(DbContext dbContext)
    {
        return new List<OrderDetail>() { };
    }
}
